from tools.model import *


def local_log(entityId,error,env_time,img_info=None,none=None,media_name=None):
    BaoZiLog(entity_id=entityId,error=error,env_time=env_time,img_info=img_info,none=none,media_name=media_name).save()

